package com.yzc.tour;

import com.yzc.pojo.Tour;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author Yzc
* @description 针对表【t_tour】的数据库操作Service
* @createDate 2024-06-13 15:28:57
*/
@Service
public interface TourService extends IService<Tour> {

    List<Tour> loadAll();

    List<Tour> selectInfos(Tour tourname);


    Map deleteInfos(int tourid);


    Map saveInfos(Tour tour);

    Map updateInfos(Tour tour);

    Tour getTourid(Integer tourid);
}
